package com.woniuxy.member.client;

import com.woniuxy.member.client.param.CommentInfoSearchParam;
import com.woniuxy.member.client.param.CommentInfoSearchParams;
import com.woniuxy.member.client.result.CommentInfoClientDto;
import common.WoniuPage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;
import result.Result;

@FeignClient(contextId = "commentQueryClient",name="member",path="member")
public interface CommentQueryClient {

    @GetMapping("/getAllScoreCommentInfo")
    public Result<WoniuPage<CommentInfoClientDto>> getAllScoreCommentInfo(@SpringQueryMap CommentInfoSearchParam commentInfoSearchParam);

    @GetMapping("/getStoreCommentInfo")
    public Result<WoniuPage<CommentInfoClientDto>> getStoreCommentInfo(@SpringQueryMap CommentInfoSearchParams commentInfoSearchParams);
}
